package com.lecture.junit.tdd.example;

import java.util.Date;
import java.util.List;

public interface IAccount {

    public boolean passwordMatches(String password);

    public void setLoggedIn(boolean loggedIn);

    public void setRevoked(boolean revoked);

    public boolean isRevoked();

    public String getUserName();

    public Date getLatestLoginDate();

	public Date getLatestPasswordChangeDate();
	
	public List<String> getPreviousPasswords();

	public void setPassword(String password);
}
